package com.zhongli.devplatform.po.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
@ApiModel(value="com-zhongli-devplatform-po-ReadRole")
@Data
@TableName(value = "read_role")
public class ReadRolePO {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 是否启用该：0不启用,1启用
     */
    @TableField(value = "is_enable")
    @ApiModelProperty(value="是否启用该：0不启用,1启用")
    private Integer isEnable;

    /**
     * 角色名称
     */
    @TableField(value = "role_name")
    @ApiModelProperty(value="角色名称")
    private String roleName;

    /**
     * 角色认证标识
     */
    @TableField(value = "code")
    @ApiModelProperty(value="角色认证标识")
    private String code;

    /**
     * 描述
     */
    @TableField(value = "description")
    @ApiModelProperty(value="描述")
    private String description;

    @TableField(value = "create_time")
    @ApiModelProperty(value="")
    private Date createTime;

    @TableField(value = "update_time")
    @ApiModelProperty(value="")
    private Date updateTime;

    @TableField(value = "create_user_id")
    @ApiModelProperty(value="")
    private Integer createUserId;

    @TableField(value = "update_user_id")
    @ApiModelProperty(value="")
    private Integer updateUserId;
}